<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@page import="java.*"%>
<%@page import="java.util.Vector"%>
<%@page import="model.*"%>
<jsp:useBean id="util" class="model.UtilForm" scope="session"></jsp:useBean>
<html:html xhtml="true" lang="true">
<head>

<title><bean:message key="welcome.title"/></title>
<html:base/>
<style type="text/css">
<!--
.style3 {
	font-size: 9px;
	color: #FF0000;
}
.style5 {color: #FF0000}
body {
	background-color: #FFFFFF;
}
-->
</style><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<p>&nbsp;</p>
<html:errors/>
<html:form action="/EdicaoPerfilSelecionado">
<table width="421" height="214" border="0" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
  <tr>
    <td colspan="2"><div align="center"><strong>Selecione o Perfil que deseja Alterar</strong></div></td>
  </tr>
  <tr>
    <td><div align="left"><strong>Perfil</strong></div></td>
    <td><html:select property="cod_perfil">
    			 <%
		   			Vector perfil =(Vector) util.getVecperfil();	   
		   			for(int i =0 ;i < perfil.size();i++ ) {
			  			PerfilForm setorbean = (PerfilForm)perfil.get(i);
			     %>
			     <html:option value="<%=(Integer.toString(setorbean.getCod_perfil())) %>">
			     <%=setorbean.getNome_perfil()%>
			     </html:option>
			    <%} %>
        	</html:select></td>
  </tr>
    <tr>
    <td><div align="center">
      <input type="submit" name="Reset" value="Continuar">
    </div></td>
    
  </tr>
</table>
</html:form>
</body>
</html:html>